
<?php

use yii\helpers\Html;
use yii\helpers\Url;
?>

<!DOCTYPE html>
<html class="no-js" lang="en-US">
<head>
    <meta charset="UTF-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title><?= $this->params["seo"]->seo_title;?></title>
    <meta name="keywords" content="<?= $this->params["seo"]->seo_key;?>">
    <meta name="description" content="<?= $this->params["seo"]->seo_des;?>" />
    <link rel='stylesheet' id='layerslider-css'  href='/ms/web/ymh/style/css/style.css' type='text/css' media='all' />
    <link rel='stylesheet' id='layerslider-css'  href='/ms/web/ymh/style/css/jquery.slideBox.css' type='text/css' media='all' />
    <script src="/ms/web/ymh/style/js/jquery.js"></script>
    <script src="/ms/web/ymh/style/js/jquery.slideBox.js"></script>
<!--    <script>
        var _hmt = _hmt || [];
        (function() {
          var hm = document.createElement("script");
          hm.src = "https://hm.baidu.com/hm.js?4e825738ded3905647da80b5b315a538";
          var s = document.getElementsByTagName("script")[0]; 
          s.parentNode.insertBefore(hm, s);
        })();
    </script>-->


</head>
<body>
    <header class="header">
<!--        <div class="header-t">
            <ul>
                <li class="border-right">
                    <div class="header-t-img">
                        <img src="/ms/web/ymh/style/img/yuyue.png" height="45px" />
                    </div>
                    <div class="header-t-w">
                        <font class="md">点击预约</font><br/>
                        <font class="sm">Reservation to the shop</font>
                    </div>
                </li>
                <li class="border-right" style="width: 180px;">
                    <div class="header-t-img">
                        <img src="/ms/web/ymh/style/img/yuyue-2.png" height="45px" />
                    </div>
                    <div class="header-t-w" style="width: 130px;">
                        <font class="md">电话咨询</font><br/>
                        <font class="sm">025-84800480</font>
                    </div>
                </li>
                <li style="width: 190px;">
                    <div class="header-t-img">
                        <img src="/ms/web/ymh/style/img/yuyue-3.png" height="45px" width="45px;" />
                    </div>
                    <div class="header-t-w">
                        <font class="md">在线咨询</font><br/>
                        <font class="sm">Online consulration</font>
                    </div>
                </li>
            </ul>
        </div>-->
        <div  id="nav-po" class="head-nav-po">
            <div class="header-nav">
                <div class="nav-img">
                    <img src="/ms/web/ymh/style/img/logo.png">
                </div>
                <div class="nav-ul">
                    <ul id="a-click">
                        <li><a <?php if (isset($this->params["className"]) && $this->params["className"] == "index2") { ?>class="on"<?php } ?> href="/">首页</a></li>
                        <li><a <?php if (isset($this->params["className"]) && $this->params["className"] == "about") { ?>class="on"<?php } ?> href="<?= Url::to(['index/about'])?>">关于颐美禾</a></li>
                        <li><a <?php if (isset($this->params["className"]) && $this->params["className"] == "celeb") { ?>class="on"<?php } ?> href="<?= Url::to(['index/celeb'])?>">明星有约</a></li>
                        <li><a <?php if (isset($this->params["className"]) && $this->params["className"] == "service") { ?>class="on"<?php } ?> href="<?= Url::to(['index/service'])?>">医疗保障</a></li>
                        <li><a <?php if (isset($this->params["className"]) && $this->params["className"] == "yuezi") { ?>class="on"<?php } ?> href="<?= Url::to(['index/yuezi'])?>">月子膳食</a></li>
                        <li><a <?php if (isset($this->params["className"]) && $this->params["className"] == "serve") { ?>class="on"<?php } ?> href="<?= Url::to(['index/serve'])?>">尊享服务</a></li>
                        <li><a <?php if (isset($this->params["className"]) && $this->params["className"] == "envir") { ?>class="on"<?php } ?> href="<?= Url::to(['index/envir'])?>">环境设施</a></li>
                        <li><a <?php if (isset($this->params["className"]) && $this->params["className"] == "news-list") { ?>class="on"<?php } ?> href="<?= Url::to(['index/news-list'])?>">新闻动态</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </header>
    
    <?=$content?>
    
    <footer class="footer">
        <div class="footer-2">
            <div class="footer-bor">
                <h2 style="font-family: 微软正黑;">联系我们</h2>
                <div class="footer-lx"><img src="/ms/web/ymh/style/img/lx.png"></div>
                <div class="footer-zz"> 
                    <!--<font style="float: left;padding-left: 35px;color: #6D6D6D;font-size: 15px;"></font><br/>-->
                    <div class="footer-hz">
                        <div class="footer-hz-t">
                            <img src="/ms/web/ymh/style/img/hz-t.png">
                        </div>
                        <div class="foot-pos">
                            扫描二维码<br/>
                            关注颐美禾官方微信
                        </div>
                        <div class="footer-hz-b">
                            <ul>
                                <li class="hz-img"><img src="/ms/web/ymh/style/img/foot-addr.png"></li>
                                <li>南京市江宁区胜太西路<br/>临淮街18号</li>
                                <li class="hz-img"><img src="/ms/web/ymh/style/img/foot-pho.png"></li>
                                <li style="line-height: 40px;">025-84800480</li>
                                <li class="hz-img"><img src="/ms/web/ymh/style/img/foot-wb.png"></li>
                                <li style="line-height: 40px;">关注颐美禾官方微博</li>
                            </ul>
                        </div>
                    </div>

                </div>

            </div>
        </div>
        <div class="footer-bom">苏ICP备14033115号</div>
    </footer>
    <div class="f-qiao" style="position: fixed;bottom: 0;width: 100%;height: 90px; z-index: 9999;margin: 0;padding: 0;">
        <a  target="_blank" href="http://p.qiao.baidu.com/cps/chat?siteId=11194278&userId=24499894"><img src="/ms/web/ymh/style/img/f-qiao.png"></a>
    </div>
</body>
</html>

<script>
    $(function(){
        $(window).scroll(function(event){
            var navTop = window.pageYOffset;
            if(navTop >=75){
                $("#nav-po").addClass('pos'); 
            }else{
                $("#nav-po").removeClass('pos'); 
            }
        });
        
        $("#a-click li a").click(function(){
            $("#a-click li a").each(function(){
                $(this).removeClass('on');
            });
            $(this).addClass('on');
        });
    })
</script>